home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Select: Games Special 4
/
THE BEST OF SELECT Games Special 4 (Select CD-ROM)(1996).iso
/
win95
/
gchess
/
chess32.rc
< prev
next >
Wrap
Text File
|
1995-02-22
|
17KB
|
435 lines
/*
C source for GNU CHESS
Revision: 1990-09-30
Modified by Daryl Baker for use in MS WINDOWS environment
Revision: 2-22-1995
Modified by Jake Oshins for use in Win32 environments.
This file is part of CHESS.
CHESS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY. No author or distributor accepts responsibility to anyone for
the consequences of using it or for whether it serves any particular
purpose or works at all, unless he says so in writing. Refer to the CHESS
General Public License for full details.
Everyone is granted permission to copy, modify and redistribute CHESS, but
only under the conditions described in the CHESS General Public License.
A copy of this license is supposed to have been given to you along with
CHESS so you can know your rights and responsibilities. It should be in a
file named COPYING. Among other things, the copyright notice and this
notice must be preserved on all copies.
*/
//Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "chess.h"
#include "saveopen.h"
#include "color.h"
#include "timecnt.h"
#include "stats.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
CHESS ICON DISCARDABLE "Chess.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
PAWN BITMAP MOVEABLE PURE "pawn.bmp"
ROOK BITMAP MOVEABLE PURE "rook.bmp"
KNIGHT BITMAP MOVEABLE PURE "knight.bmp"
BISHOP BITMAP MOVEABLE PURE "bishop.bmp"
QUEEN BITMAP MOVEABLE PURE "queen.bmp"
KING BITMAP MOVEABLE PURE "king.bmp"
PAWNM BITMAP MOVEABLE PURE "pawnm.bmp"
ROOKM BITMAP MOVEABLE PURE "rookm.bmp"
KNIGHTM BITMAP MOVEABLE PURE "knightm.bmp"
BISHOPM BITMAP MOVEABLE PURE "bishopm.bmp"
QUEENM BITMAP MOVEABLE PURE "queenm.bmp"
KINGM BITMAP MOVEABLE PURE "kingm.bmp"
PAWNO BITMAP MOVEABLE PURE "pawno.bmp"
ROOKO BITMAP MOVEABLE PURE "rooko.bmp"
KNIGHTO BITMAP MOVEABLE PURE "knighto.bmp"
BISHOPO BITMAP MOVEABLE PURE "bishopo.bmp"
QUEENO BITMAP MOVEABLE PURE "queeno.bmp"
KINGO BITMAP MOVEABLE PURE "kingo.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
AboutBox DIALOG DISCARDABLE 19, 18, 218, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "GNU Chess 3.21 for Windows"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "OK",1,93,122,32,14,WS_GROUP
ICON "CHESS",IDC_STATIC,20,12,18,20
CTEXT "Daryl K. Baker",105,57,4,107,8,NOT WS_GROUP
CTEXT "Wed Dec 28 02:03:55 1989",106,57,13,107,8,NOT WS_GROUP
CTEXT "Copyright \251 1985-1991 Free Software Foundation Inc.",
108,0,76,218,8,NOT WS_GROUP
LTEXT "GNU Chess 2nd version original copyright \251 1986 John Stanback",
109,2,104,215,8,NOT WS_GROUP
CONTROL "",110,"Static",SS_BLACKFRAME,0,69,216,1
CTEXT "Compiled with Microsoft C 6.00ax",111,57,47,107,8,NOT
WS_GROUP
CTEXT "Linked with Microsoft Win32 SDK",112,57,55,107,8,NOT
WS_GROUP
LTEXT "GNU Chess original copyright \251 1985 Stuart Cracraft",
113,3,93,215,8,NOT WS_GROUP
LTEXT "Windows version additional copyright \251 1990-1991 Daryl Baker",
114,3,84,215,8,NOT WS_GROUP
LTEXT "Win32 version: Jake Oshins",IDC_STATIC,65,28,95,8
END
FILESAVE DIALOG DISCARDABLE 10, 10, 180, 54
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
LTEXT "Save File &Name As:",-1,6,4,84,12
LTEXT "",IDD_FPATH,90,4,78,12
EDITTEXT IDD_FNAME,6,20,104,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,124,20,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,124,36,50,14,WS_GROUP
END
FILEOPEN DIALOG DISCARDABLE 6, 9, 219, 106
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
LTEXT "Open File &Name:",-1,7,4,61,10
EDITTEXT IDD_FNAME,70,3,83,12,ES_AUTOHSCROLL
LTEXT "&Files:",-1,7,24,38,10
LTEXT "",IDD_FPATH,70,24,143,12
LISTBOX IDD_FLIST,7,36,60,65,LBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "&OK",IDOK,160,64,50,14,WS_GROUP
PUSHBUTTON "&Cancel",IDCANCEL,160,87,50,14,WS_GROUP
LISTBOX IDD_DLIST,73,52,68,49,LBS_SORT | WS_VSCROLL
LTEXT "&Directories:",-1,73,39,53,10,NOT WS_GROUP
END
WILDFILEOPEN DIALOG DISCARDABLE 6, 9, 219, 106
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
LTEXT "Open File &Name:",-1,7,4,61,10
EDITTEXT IDD_FNAME,70,3,83,12,ES_AUTOHSCROLL
LTEXT "&Files:",-1,7,24,38,10
LTEXT "",IDD_FPATH,70,19,143,12
LISTBOX IDD_FLIST,7,36,60,65,LBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "&Browse",IDD_BROWSE,160,41,50,14
PUSHBUTTON "&OK",IDOK,160,64,50,14,WS_GROUP
PUSHBUTTON "&Cancel",IDCANCEL,160,87,50,14,WS_GROUP
LISTBOX IDD_DLIST,73,52,68,49,LBS_SORT | WS_VSCROLL
LTEXT "&Directories:",-1,73,39,53,10,NOT WS_GROUP
END
NUMBERDLG DIALOG DISCARDABLE 10, 10, 180, 54
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
CTEXT "",IDD_CHAR,9,4,162,12
EDITTEXT IDD_INT,6,20,104,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,124,20,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,124,36,50,14,WS_GROUP
END
COLOR DIALOG DISCARDABLE 10, 20, 139, 177
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
CTEXT "Window Background Color",IDD_HEADING,0,2,139,12,NOT
WS_GROUP
GROUPBOX "Color",203,6,15,128,130
RADIOBUTTON "Black",CNT_BLACK,18,26,28,12,WS_TABSTOP
RADIOBUTTON "Blue",CNT_BLUE,18,40,28,12,WS_TABSTOP
RADIOBUTTON "Green",CNT_GREEN,18,54,28,12,WS_TABSTOP
RADIOBUTTON "Cyan",CNT_CYAN,18,68,28,12,WS_TABSTOP
RADIOBUTTON "Red",CNT_RED,18,82,28,12,WS_TABSTOP
RADIOBUTTON "Pink",CNT_PINK,18,96,28,12,WS_TABSTOP
RADIOBUTTON "Yellow",CNT_YELLOW,18,110,38,12,WS_TABSTOP
RADIOBUTTON "Pale Gray",CNT_PALEGRAY,18,124,51,12,WS_TABSTOP
RADIOBUTTON "Dark Gray",CNT_DARKGRAY,74,26,54,12,WS_TABSTOP
RADIOBUTTON "Dark Blue",CNT_DARKBLUE,74,40,54,12,WS_TABSTOP
RADIOBUTTON "Dark Green",CNT_DARKGREEN,74,54,48,12,WS_TABSTOP
RADIOBUTTON "Dark Cyan",CNT_DARKCYAN,74,68,54,12,WS_TABSTOP
RADIOBUTTON "Dark Red",CNT_DARKRED,74,82,54,12,WS_TABSTOP
RADIOBUTTON "Dark Pink",CNT_DARKPINK,74,97,54,12,WS_TABSTOP
RADIOBUTTON "Brown",CNT_BROWN,74,110,54,12,WS_TABSTOP
RADIOBUTTON "White",CNT_WHITE,74,124,54,12,WS_TABSTOP
DEFPUSHBUTTON "OK",IDD_OK,17,154,38,14
PUSHBUTTON "Cancel",IDD_CANCEL,85,154,38,14
END
TIMECONTROL DIALOG DISCARDABLE 48, 48, 180, 126
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Set Time Limits"
BEGIN
GROUPBOX "Number of moves",201,10,11,160,32
GROUPBOX "Time limit",202,10,51,160,32
RADIOBUTTON "1",TMDLG_1MOV,22,24,20,12,WS_TABSTOP
RADIOBUTTON "10",TMDLG_10MOV,52,24,20,12,WS_TABSTOP
RADIOBUTTON "20",TMDLG_20MOV,81,24,20,12,WS_TABSTOP
RADIOBUTTON "40",TMDLG_40MOV,112,24,20,12,WS_TABSTOP
RADIOBUTTON "60